﻿using System;
using System.Xml.Serialization;

namespace Tilver.Coder.Core
{
    public interface ICoderObject { }
    /// <summary>
    /// 代码生成器基类
    /// </summary>
    [Serializable]
    public abstract class CoderObjectBase : ICoderObject
    {
        /// <summary>
        /// 数据库
        /// </summary>
        [XmlIgnore]
        public virtual CoderDataBase DataBase { get; set; }
        ///// <summary>
        ///// 所属数据库名称
        ///// </summary>
        //public virtual string DataBaseName { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        public virtual string Name { get; set; }
        /// <summary>
        /// 内部使用名称
        /// </summary>
        public virtual string CodeName { get; set; }
    }
}
